#ifndef __QpwRender__
#define __QpwRender__

#include <QpwStyleDatabase.h>
#include <QpwSubType.h>
#include <QyGLScene.h>
#include <QyRender.h>
#include <QyRenderLayer.h>

class QpwRender : public QyRender::Painter, public QyGL::Scene {
public:
    explicit QpwRender();
    virtual ~QpwRender();

    bool loadData( const QString & dataPath );

    QMap<QpwSubType::ObjectFunction,QyRender::Layer> layers;
    QpwStyleDatabase styleDatabase;

private:
    void initialize();
    void paint();

};

#endif//__QpwRender__
